package com.example.XueCuApp.Bean;

import java.util.List;

public class RzfindTimeControlListResultBean {


    /**
     * code : 200
     * message : 获取分时预约库存(按产品)成功
     * data : [{"projectId":10000000045001,"projectShortName":"aa","timeControlList":[{"timeControlId":10000000009003,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"08:00:00","controlEndTime":"09:00:00"},{"timeControlId":10000000009007,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"09:00:00","controlEndTime":"10:00:00"},{"timeControlId":10000000009011,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"11:00:00","controlEndTime":"12:00:00"},{"timeControlId":10000000009015,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"13:00:00","controlEndTime":"14:00:00"}]}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * projectId : 10000000045001
         * projectShortName : aa
         * timeControlList : [{"timeControlId":10000000009003,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"08:00:00","controlEndTime":"09:00:00"},{"timeControlId":10000000009007,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"09:00:00","controlEndTime":"10:00:00"},{"timeControlId":10000000009011,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"11:00:00","controlEndTime":"12:00:00"},{"timeControlId":10000000009015,"totalSum":20,"saleSum":0,"residueSum":20,"controlStartTime":"13:00:00","controlEndTime":"14:00:00"}]
         */

        private long projectId;
        private String projectShortName;
        private List<TimeControlListBean> timeControlList;

        public long getProjectId() {
            return projectId;
        }

        public void setProjectId(long projectId) {
            this.projectId = projectId;
        }

        public String getProjectShortName() {
            return projectShortName;
        }

        public void setProjectShortName(String projectShortName) {
            this.projectShortName = projectShortName;
        }

        public List<TimeControlListBean> getTimeControlList() {
            return timeControlList;
        }

        public void setTimeControlList(List<TimeControlListBean> timeControlList) {
            this.timeControlList = timeControlList;
        }

        public static class TimeControlListBean {
            /**
             * timeControlId : 10000000009003
             * totalSum : 20
             * saleSum : 0
             * residueSum : 20
             * controlStartTime : 08:00:00
             * controlEndTime : 09:00:00
             */

            private long timeControlId;
            private int totalSum;
            private int saleSum;
            private int residueSum;
            private String controlStartTime;
            private String controlEndTime;

            public long getTimeControlId() {
                return timeControlId;
            }

            public void setTimeControlId(long timeControlId) {
                this.timeControlId = timeControlId;
            }

            public int getTotalSum() {
                return totalSum;
            }

            public void setTotalSum(int totalSum) {
                this.totalSum = totalSum;
            }

            public int getSaleSum() {
                return saleSum;
            }

            public void setSaleSum(int saleSum) {
                this.saleSum = saleSum;
            }

            public int getResidueSum() {
                return residueSum;
            }

            public void setResidueSum(int residueSum) {
                this.residueSum = residueSum;
            }

            public String getControlStartTime() {
                return controlStartTime;
            }

            public void setControlStartTime(String controlStartTime) {
                this.controlStartTime = controlStartTime;
            }

            public String getControlEndTime() {
                return controlEndTime;
            }

            public void setControlEndTime(String controlEndTime) {
                this.controlEndTime = controlEndTime;
            }
        }
    }
}
